package io.renren.modules.report.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.report.entity.ConnectionEntity;
import io.renren.modules.report.vo.ConnectionUserVO;
import io.renren.modules.report.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email 379249906@qq.com
 * @date 2020-07-07 16:43:29
 */
public interface ConnectionService extends IService<ConnectionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UserVO> getUsersbyConnectionID(Long connectId);

    void saveCascade(ConnectionUserVO connectionUserVO);

    void updateCascade(ConnectionUserVO connectionUserVO);

    void deleteCascade(Long[] ids);
}

